@charset "utf-8";

$fs:64px;
*{
    padding: 0;
    margin: 0;
    font-size: 0;
}
html{
    font-size: $fs;
    
    
}
@function r($px){
    @return $px/$fs*1rem
    
}
@function p2vh($px){
    @return $px*100/1280px*1vh
    
}
@function p2vw($px){
    @return $px*100/640px*1vw
    
}
.web{
    width: 100vw;
    background:white;   
}
.clear{
    clear: both;
}
//顶部logo
.logo-t{
    position: fixed;
    z-index: 1;
   background: #b20000;
   width:100%;
   text-align: center;
}
.logo-t img{
    width: r(264px);
    height:r(39px);
    padding: r(25px) 0;
}
//左右图标
.logo-caidan{
     width: r(42px);
    height: r(42px);
    padding: r(25px) 0;
    float: left;
    display: inline-block;
}
.logo-sousuo{
    width: r(42px);
    height: r(42px);
        padding: r(25px) 0;
    float: right;
        display: inline-block;
}
//白底logo
.box {
    width: 100%;
    padding-top: r(70px);
}
.box img{
    width: 100%;
    height: 100%;
}


//中间板块
.top-case-text{
    width: r(282px);
       background: #f6f6f6;
       display: inline-block;
       margin: r(15px) r(18px);
}

.top-case-text img{
    width:100% ;
    height: 100%;
}

.top-case-text a{
    font-size:r(21px);
    display: block;
     color: black;
    text-decoration: none; 
}
.top-case-text p{
    font-size:r(18px);
    color: #c8c8c8;
    display: inline-block;
    margin:r(5px) r(10px);
}
.top-case-text p img{
        width: r(19px);
    height: r(17px);
}
.top-case-text span{
    font-size: r(18px);
        color: #c8c8c8;
    display: block;
}
.top-case-text span img{
        width: r(19px);
    height: r(17px);
}









//空白DIV
.kongbai{
    width: 100%;
    padding-bottom: r(96px);
}
//底部菜单
.return{
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #f5f5f5;
    
}
.return li{
    float: left;
    width: 20%;
    text-align: center;

}
.return span{
    display: inline-block;
    font-size: r(18px);
    padding-bottom: r(8px);
        
}
.return a{
    color: black;
    
}
.return img{
    display: block;
    margin: r(10px) auto;
    width: r(43px);
    height: r(43px);
}
.logo-t i{
    color: white;
}
.youbianhuadong p{
    font-size: r(50px);
    color: black;
}
.youbianhuadong{
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: red;
    transition: all .5s;
    transform:translateX(-100%);
    z-index: 1;
}
.youbiandianji{
    width: 100px;
    height: 100px;
    background: yellow;
}
#youbiandianji:checked+.youbianhuadong {
    transform: translateX(0%);
    z-index: 2;
}
